package first.niuke.simple;

/**
 * @ClassName NC145
 * @description:
 * @author: 荣燊
 * @create: 2021-06-02 11:24
 **/
public class NC145 {
    public static void main(String[] args) {
        int[][] a = {{1, 3}, {10, 4}, {1, 3}};
        int V = 10;
        int n = 2;
        System.out.println(a.length); // 行数
        System.out.println(a[0].length); // 列数
    }

    public int knapsack (int V, int n, int[][] vw) {
        // write code here
        // vw.length == n
        // 动态规划：
        int volume = 0;
        for (int i=0; i<n; i++) {

        }
        return 0;
    }
}
